package com.atguigu.util.homework2;

/**
 * @author caesar
 * @date 2025/7/4
 * @apiNote
 */
public class ArrayUtilsTest {
    public static void main(String[] args) {
        int[] arr1 = {5,4,2,17,3};
        ArrayUtils.sort(arr1);
        System.out.println(ArrayUtils.toString(arr1));

        double[] arr2 = {5.0 ,4.0, 2.0,17.0,3.0};
        ArrayUtils.sort(arr2);
        System.out.println(ArrayUtils.toString(arr2));


        char[] arr3 = {'h','a','o','b','t'};
        ArrayUtils.sort(arr3);
        System.out.println(ArrayUtils.toString(arr3));
    }
}
